﻿// HSS.Interlink.Web.IUploadHandler.cs
// ----------------------------------------------------------------------------
// Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.html)
// ----------------------------------------------------------------------------
// HighSpeed-Solutions, LLC
// Copyright (c) 2001-2010
// ----------------------------------------------------------------------------
// File:       IUploadHandler.cs
// Author:     HSS\gbanta
// Created:    07/16/2011
// Modified:   07/22/2011
// ----------------------------------------------------------------------------
namespace HSS.Interlink.Web
{
	/// <summary>
	/// An interface that can be implemented to handle upload requests.
	/// </summary>
	public interface IUploadHandler
	{
		/// <summary>
		/// Perform the upload.
		/// </summary>
		/// <param name="context">The current HttpContext</param>
		/// <param name="query">The request FileQuery.</param>
		void Upload(System.Web.HttpContext context, FileQuery query);
	}
}